package siyuan.run.properties.confie;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.List;

/**
 * @program: sy
 * @description: Example 配置
 * @author: Jacob
 * @create: 2020-11-22 18:26
 **/
@Component
@ConfigurationProperties(prefix = "com.example")
@Data
public class ConfigExample {

    private String name;
    private String age;
    private List<String> address;
    private HashMap<String,String> numberMap;

}
